/**
 * 功能描述
 */
define(function (require, exports, module) {
    //引入视图基类
    var ELView = require("elview");

    //assets
    var template = require("./assets/tpl/carfile_main.tpl");
    require("./assets/css/carfile_main.css");

    //business

    //component
    var carFileSubnavComp = require("./component/carFileSubnavComp");
    var carFileGridComp = require("./component/carFileGridComp");
    var carFileFormComp = require("./component/carFileFormComp");
//    var carFileSubnavComp = require("./component/carFileSubnavComp");
    //constant

    //handler

    //store

    var App = ELView.extend({
        attrs: {
            template: template
        },
        initComponent: function (params, widget) {
        	carFileSubnavComp.initComponent(params,widget);
        	carFileGridComp.initComponent(params,widget);
        	carFileFormComp.initComponent(params,widget);
        },
        afterInitComponent: function (params, widget) {
            
        }
    });

    module.exports = App;
});
